[paket]
tanim  = Grafiksel oturum açma bilgilerinin sağlanmasından ve yerel ve uzak ekranların yönetilmesinden sorumlu sistem hizmeti
url    = http://ftp.gnome.org
paketci= Cihan_Alkan
grup   = gnome

[gerek]
derleme = ninja meson audit
calisma = libcanberra accountsservice audit

[kaynak]
xz   = http://ftp.gnome.org/pub/gnome/sources/gdm/${surum%.*}
1 = https://github.com/void-linux/void-packages/blob/master/srcpkgs/gdm/patches/take-out-the-trash.patch
2 = https://gitea.artixlinux.org/artixlinux/packages-gnome/src/branch/master/gdm/x86_64/extra/0003-enable-elogind-build.patch

[sha256]
#1 		= a87f09648ff10d45c524b3bfe618f18622bdd8b205589d35fed2f12d9c79c47c

[derle]
betik = sed -i 's@systemd@elogind@' data/pam-lfs/gdm-launch-environment.pam
betik = sed -i 's@-session@session @' data/pam-lfs/gdm-launch-environment.pam
betik = patch -Np1 -i /sources/take-out-the-trash.patch
betik = patch -Np1 -i /sources/0003-enable-elogind-build.patch
ekconf = -Ddefault-pam-config=arch -Dat-spi-registryd-dir=/usr/libexec -Dscreenshot-dir=/var/lib/gdm/greeter -Dplymouth=enabled -Dxauth-dir=/run/gdm -Dpid-file=/run/gdm/gdm.pid -Dsystemd-journal=false -Dinitial-vt=7 -Dwayland-support=true -Dselinux=disabled -D default-path="/usr/local/bin:/usr/local/sbin:/usr/bin" -D gdm-xsession=true -D ipv6=true
tip = meson
	

[pakur]
tip = meson
betik =  rm $PKG/lib/systemd/system/*
betik =  rmdir $PKG/lib/systemd/system
betik =  rmdir $PKG/lib/systemd
betik =  rmdir $PKG/lib
betik = install -d "$PKG/var/lib"
betik = install -d "$PKG/var/lib/gdm"                           -o120 -g120 -m1770
betik = install -d "$PKG/var/lib/gdm/.config"                   -o120 -g120 -m700
betik = install -d "$PKG/var/lib/gdm/.config/pulse"             -o120 -g120 -m700
betik = install -d "$PKG/var/lib/gdm/.local"                    -o120 -g120 -m700
betik = install -d "$PKG/var/lib/gdm/.local/share"              -o120 -g120
betik = install -d "$PKG/var/lib/gdm/.local/share/applications" -o120 -g120
#betik = install -Dt "$PKG/var/lib/gdm/.config/pulse" -o120 -g120 -m644 default.pa
servis = gdm
